/**
 * 
 */
package f3a.model;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @author Alexandre de Almeida
 * @since 16/09/2013
 * @version 0.1
 * @category ORM Class
 */

@DatabaseTable(tableName = "SUB_TASK")
public class SubTask {

	@DatabaseField(columnName = "TASK_ID", foreign = true, foreignColumnName = "TASK_ID", dataType = DataType.INTEGER)
	private Task task;
	
	/**
	 * 
	 * @return
	 */
	public Task getTask(){ return this.task; }
	
	/**
	 * 
	 * @param
	 */
	public void setTask(Task task){ this.task = task; }
	
	public SubTask(){};
	
	public SubTask(String subTaskName){};
}
